import request from "@/utils/request";

/**
 * 房间资料
 * @param {HID} data 
 */
export function getRooms(data) {
    return request({
        url: '/room/rooms',
        method: 'get',
        params: data
    })
}
/**
 * 房间资料
 * @param {HID} data 
 */
export function saveRooms(data) {
    return request({
        url: '/room/save',
        method: 'post',
        data
    })
}